package day11.afternoon;

public class Test01 {
  public static void say(Tableware tableware){
    tableware.intro();
    tableware.purpose();
  }
    public static void main(String[] args) {
//      Chopsticks chopsticks = new Chopsticks("筷子","竹子");
//      chopsticks.intro();
//      chopsticks.purpose();
//      Bowl bowl = new Bowl("碗","陶瓷泥");
//      bowl.intro();
//      bowl.purpose();
//      Plate plate = new Plate("碟子","陶瓷泥");
//      plate.intro();
//      plate.purpose();

      say(new Chopsticks("筷子","竹子"));
      say(new Bowl("碗","陶瓷泥"));
      say(new Plate("盘子","陶瓷泥"));
    }
}
